#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

int main()
{
	/*char arr[10] = "123456789";
	char brr[10] = "abc";*/

	//memset
	//char
	/*char arr[] = "good morning,girl!";
	cout << "arr:" << arr << endl;
	memset(arr + 5, 'X', 7);
	cout << "a:" << arr << endl;
	cout << endl;*/
	//int
	int brr[] = { 1,2,3,4,5,6,7,8,9,10 };
	cout << "brr: ";
	for(int e: brr)
		cout <<  e << " ";
	cout << endl;
	memset(brr, 2 , 10*sizeof(brr[0]));
	cout << "brr: ";
	for (int e : brr)
		cout <<  e << " ";
	cout << endl;
    return 0;
}